//
//  WSListCommon.h
//  jdd
//
//  Created by 王诗文 on 2018/8/8.
//

#import <Foundation/Foundation.h>

typedef NS_ENUM(NSUInteger, WSListStatus) {
     WSListStatusNormal,
     WSListStatusLoading,
     WSListStatusNone,
     WSListStatusFails,
     WSListStatusLogin,
};

//holder点击事件：空数据、网络失败
typedef void(^WSPlaceHolderBlock)(WSListStatus status);

//cell自身的点击事件，等同于didSelectRowAtIndexPath
typedef void(^WSCellClickedBlock)(NSIndexPath *indexPath,id data);

//cell内部空间点击事件
typedef void(^WSCellSubViewsClickedBlock)(NSIndexPath *indexPath,id data);

//header上面点击事件
typedef void(^WSHeaderClickedBlock)(NSInteger section,id data);

//footer点击事件
typedef void(^WSFooterClickedBlock)(NSInteger section,id data);


typedef void(^WSScrollViewDidScrollBlock)(UIScrollView *scrollView);
